<?xml version="1.0" encoding="utf-8"?>
<openerp>
	<data>
		<record id="view_param_profit_and_lost_report" model="ir.ui.view">
			<field name="name">view.param.profit.and.lost.report</field>
			<field name="model">param.profit.and.lost.report</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="Profit and Lost Report">
				  <group>
				  	<group string="">
						<field name="target_move"/> 
                	</group>
				  	<notebook tabpos="up" colspan="4"> 
				  		<page string="Filters" name="filters"> 
				  			 <group string="Periods">
				  			 	<field name="period_from"/>
								<field name="period_to"/>
				  			 </group>
				  		</page> 
				  	</notebook>
				  </group>
				<footer>
					<button name="create_vat" string="Print as PDF" type="object" default_focus="1" class="oe_highlight"/>
                    or 
                    <button string="Cancel" class="oe_link" special="cancel"/>
				</footer>
				</form>
			</field>
		</record>
		<record id="action_param_profit_and_lost_report" model="ir.actions.act_window">
			<field name="name">Profit and Lost Report</field>
			<field name="type">ir.actions.act_window</field>
			<field name="res_model">param.profit.and.lost.report</field>
			<field name="view_type">form</field>
			<field name="view_mode">form</field>
			<field name="target">new</field>
			<field name="help">This menu print Profit and Lost Report.</field>
		</record>
		
			<menuitem name="Profit And Lost" parent="menu_general_report"
			action="action_param_profit_and_lost_report" id="menu_profit_and_lost" sequence="30"/>
	</data>
</openerp>
